<template>
  <router-view></router-view>
</template>
<script setup lang="ts">
// const userStore = useUserStore()
/**
 * 因为当app端通讯异步
 * 页面加载完成还没拿到token和信息
 */
// window.onload = function () {
//   console.log('111', window.HKNativeClient)

// }

// window.addEventListener('load', function () {
//   console.log('ios', window.HKNativeClient, window.HKNativeClientReady)
// })

onMounted(async () => {
  // 初始loading
  const roller: HTMLElement | null = document.querySelector('.lds-roller')
  if (roller) {
    roller.style.display = 'none'
  }
})
</script>
<style scoped></style>
